package com.hp.hunpai.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author chenguoji
 * @since 2020-10-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="User对象", description="")
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "user_id", type = IdType.AUTO)
    private Integer userId;

    private String name;

    @ApiModelProperty(value = "用户类型,1:管理员 2：摄影团队 3：客户")
    private Integer type;

    @ApiModelProperty(value = "账号/open_id")
    private String account;

    private String password;

    private Date createTime;

    @ApiModelProperty(value = "头像")
    private String headPortraits;

    private Date lastLogintime;

    private String status;

    private String sex;

    @ApiModelProperty(value = "定位")
    private String site;


}
